JwtAuthGuard   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 5
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
eloc 5
dl 0
loc 5
ccs 2
cts 2
cp 1
rs 10
c 0
b 0
f 0
wmc 1

1 Function

Rating   Name   Duplication   Size   Complexity  
A canActivate 0 2 1
1 11
import { ExecutionContext, Injectable } from '@nestjs/common';
2 11
import { AuthGuard } from '@nestjs/passport';
3
4
@Injectable()
5 11
export class JwtAuthGuard extends AuthGuard('jwt') {
6
  canActivate(context: ExecutionContext) {
7 31
    return super.canActivate(context);
8
  }
9
}
10